package com.nainiujia.jinlong.aahelper;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;


import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.UiThread;

@EActivity(R.layout.activity_launcher)
public class LauncherActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
       // setContentView(R.layout.activity_launcher);

    }
    @Override
    protected void onResume() {
        super.onResume();

        doInUiThreadAfterTwoSeconds();
    }

    @UiThread(delay = 2500)
    void doInUiThreadAfterTwoSeconds() {

        Intent intent = new Intent(this, InitActivity_.class);
        startActivity(intent);
        this.finish();
    }


}
